package com.zk.springCloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true) //链式写法
public class Dept implements Serializable {
    private Long deptid;
    private String deptname;
    private String db_sourse;

    public Dept(String deptname) {
        this.deptname = deptname;
    }

}
